home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- Set_CDcounter(2)
- initLesson()
- CheckForTagWd()
- end
-
- on HideLastStep
- RestoreHilites()
- unLoadCast()
- end
-
- on TheinitCursor
- initCursorCastNum()
- initCursorList(1)
- set CursorCastNum to getCursor(2)
- cursor([CursorCastNum, CursorCastNum + 1])
- end
-
- on checkScreenStatus
- CheckRollOver()
- CheckSnakeStatus()
- go(the frame)
- end
-
- on BlinkNext
- if (the timer > getTimer()) and not soundBusy(2) then
- startTimer()
- if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
- else
- set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
- end if
- end if
- end
-
- on GoNext
- if not get_Disabled() then
- puppetSound(0)
- sound stop 2
- if Get_NEXT() = 10 then
- unLoadCast(126, 147)
- end if
- if Get_NEXT() > 24 then
- GoEndMovie()
- else
- go("t" & Get_NEXT())
- end if
- Set_NEXT(Get_NEXT() + 1)
- end if
- end
-
- on GoEndMovie
- global ReturnToMenu
- PlaySound("GOSOUND.SO1")
- SaveSeenScreens()
- if (ReturnToMenu = "SUBJECT") and (Get_ScreenSubject() <> "11") and (Get_ScreenSubject() <> "00") then
- set theNum to integer(Get_ScreenSubject())
- go(1, "NCS" & Get_ScreenSubject() & "010.GEO")
- else
- if ReturnToMenu = "TOOL" then
- go(1, "NC_MM020.GEO")
- else
- if ReturnToMenu = "SECTION" then
- go(1, "NC_MM040.GEO")
- else
- if ReturnToMenu = "MAIN MENU" then
- go(1, "NC_MM010.GEO")
- else
- go(1, "NC_MM010.GEO")
- end if
- end if
- end if
- end if
- end
-
- on stopMovie
- sound stop 1
- unLoad()
- setEmptyCursor()
- end
-
- on GoNextMovie
- SaveHilite()
- Add_CDcounter(1)
- set cdNum to Get_CDcounter()
- set movieName to item cdNum of Get_CurrentSnakeScreens()
- go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
- end
-
- on playTheTSound theTSnd
- if theTSnd < 10 then
- PlaySound("NCT08020.s0" & theTSnd)
- else
- PlaySound("NCT08020.s" & theTSnd)
- end if
- end
-
- on blinkHiLight
- global LocalTime
- if (the timer > getTimer()) and not soundBusy(2) and (LocalTime < 2) then
- startTimer()
- if the visible of sprite 18 then
- set the visible of sprite 18 to 0
- else
- puppetSound("highlight1")
- set the visible of sprite 18 to 1
- set LocalTime to 1 + LocalTime
- end if
- end if
- end
-
- on blinkSprite
- set xx to 0
- repeat while xx <> 3
- if the timer > getTimer() then
- startTimer()
- if the visible of sprite 18 then
- set the visible of sprite 18 to 0
- updateStage()
- set xxtemp to xx + 1
- set xx to xxtemp
- next repeat
- end if
- set the visible of sprite 18 to 1
- updateStage()
- end if
- end repeat
- end
-